﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using SDT.Model;
using SDT.Lib.Paging;

namespace SDT.Site.Areas.User.ViewModels
{
    public class OrderIndexViewModels
    {
        public IPagedList<Order> Orders { get; set; }
        public IList<Payment> Payments { get; set; }
        public Dictionary<int, string> OrderStatus { get; set; }
        public string Keyword { get; set; }
        public int StatusID { get; set; }
        public int PaymentID { get; set; }
        public List<int> OperationDurations { get; set; }
        public DateTime FromDate { get; set; }
        public DateTime ToDate { get; set; }
        public int InYear { get; set; }
        public Customer Customer { get; set; }
    }
    public class OrderEditViewModels
    {
        public Order Order { get; set; }
        public Dictionary<int, string> OrderStatus { get; set; }
    }
}
